﻿<phone:PhoneApplicationPage 
    x:Class="Flag.menu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="PageTitle" Text="Mapture the Flag" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" Height="99" Width="452" FontSize="55" FontWeight="ExtraBold" FontFamily="Segoe WP" FontStretch="UltraExpanded" />
        </StackPanel>

        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Button Content="Create Game" Height="115" HorizontalAlignment="Left" Margin="6,38,0,0" Name="button3" VerticalAlignment="Top" Width="437" FontSize="45" Click="buttonCreate_Click" />
            <Button Content="Join Game" Height="115" HorizontalAlignment="Left" Margin="6,159,0,0" Name="button2" VerticalAlignment="Top" Width="437" FontSize="45" Click="buttonJoin_Click" />
            <Button Content="Map" Height="115" HorizontalAlignment="Left" Margin="6,280,0,0" Name="button1" VerticalAlignment="Top" Width="438" FontSize="45" Click="buttonMap_Click" />
            <TextBlock Height="74" HorizontalAlignment="Left" Margin="144,404,0,0" Name="textBlock" Text="Status:" VerticalAlignment="Top" Width="180" FontSize="50" />
            <TextBlock Margin="12,499,0,6" Name="textStatus" Text="" HorizontalAlignment="Left" Width="431" FontSize="30" TextAlignment="Center" />        
        </Grid>
    </Grid>

</phone:PhoneApplicationPage>